<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Refresh extended operation helper</title>
 </head>
 <body class="docs"><div id="layout">
  <div id="layout-content"><div id="function.ldap-exop-refresh" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ldap_exop_refresh</h1>
  <p class="verinfo">(PHP 7 &gt;= 7.3.0)</p><p class="refpurpose"><span class="refname">ldap_exop_refresh</span> &mdash; <span class="dc-title">Refresh extended operation helper</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.ldap-exop-refresh-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>ldap_exop_refresh</strong></span>
    ( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$link</code></span>
   , <span class="methodparam"><span class="type">string</span> <code class="parameter">$dn</code></span>
   , <span class="methodparam"><span class="type">int</span> <code class="parameter">$ttl</code></span>
   ) : <span class="type">int</span></div>

  <p class="para rdfs-comment">
   Performs a Refresh extended operation and returns the data.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.ldap-exop-refresh-parameters">
  <h3 class="title">参数</h3>
  <dl>

   
    <dt>
<code class="parameter">link</code></dt>

    <dd>

     <p class="para">
       An LDAP link identifier, returned by <span class="function"><a href="ldap_connect.html" class="function">ldap_connect()</a></span>.
     </p>
    </dd>

   
   
    <dt>
<code class="parameter">dn</code></dt>

    <dd>

     <p class="para">
       dn of the entry to refresh.
     </p>
    </dd>

   
   
    <dt>
<code class="parameter">ttl</code></dt>

    <dd>

     <p class="para">
       Time in seconds (between 1 and 31557600) that the
       client requests that the entry exists in the directory before being
       automatically removed.
     </p>
    </dd>

   
  </dl>

 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.ldap-exop-refresh-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   From RFC:
   The responseTtl field is the time in seconds which the server chooses
   to have as the time-to-live field for that entry.  It must not be any
   smaller than that which the client requested, and it may be larger.
   However, to allow servers to maintain a relatively accurate
   directory, and to prevent clients from abusing the dynamic
   extensions, servers are permitted to shorten a client-requested
   time-to-live value, down to a minimum of 86400 seconds (one day).

   <strong><code>FALSE</code></strong> will be returned on error.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.ldap-exop-refresh-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="ldap_exop.html" class="function" rel="rdfs-seeAlso">ldap_exop()</a> - Performs an extended operation</span></li>
   </ul>
  </p>
 </div>



</div></div></div></body></html>